package operation;

import book.BookList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 黎鹤舞
 * Date: 2023-11-21
 * Time: 16:05
 */
public class ExitOperation implements IOperation {
    public void work(BookList bookList) {
        System.out.println("退出系统！！！！");
        
        //这里表示的是返回状态值 0(结束系统)
        System.exit(0);
    }
}
